Fix loading cached compose tables
authorThibaut Girka <thib.gnomezilla@sitedethib.com>
Sun, 6 Nov 2016 21:49:00 +0000 (21:49 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Nov 2016 19:32:59 +0000 (14:32 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=773916

gtk/gtkcomposetable.c

index c890b5b232f7ecfa5a296701470050baf8cd604a..207611aa9f5b8182a78d23baba6e127ce44e8ca7 100644 (file)
@@ -697,7 +697,7 @@ gtk_compose_table_load_cache (const gchar *compose_file)
   retval = g_new0 (GtkComposeTable, 1);
   retval->data = gtk_compose_seqs;
   retval->max_seq_len = max_seq_len;
-  retval->n_seqs = length;
+  retval->n_seqs = n_seqs;
   retval->id = hash;
 
   g_free (contents);